//
//  Session.h
//  ZZmetro
//
//  Created by 一介布衣 on 2020/6/5.
//  Copyright © 2020 一介布衣. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface Session : NSObject

/**
 判断用户是否已经登录
 */
@property (class,assign,nonatomic,readonly)BOOL isLogin;

/**
 用户token
 */
@property (class,copy,nonatomic,readonly)NSString* token;

/**
 用户token
 */
@property (class,copy,nonatomic)NSString* cookie;

/**
 登录的账户
 */
@property(class,copy,nonatomic)NSString* accountName;

/**
 登录的账户的密码
 */
@property(class,copy,nonatomic)NSString* passWord;


//========================================================
/**
 清除用户信息
 */
+(void)clear;
@end

NS_ASSUME_NONNULL_END
